/**
 * @param {string} s
 * @param {string[]} words
 * @return {boolean}
 */
 var isPrefixString = function(s, words) {
  let x = ''
  for(const ch of words){
    x += ch
    if(x === s){
      return true
    }
  }
  return false
};